home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / powerb5.zip / P5MSC009.TIP < prev    next >
Text File  |  1993-06-01  |  2KB  |  54 lines

  1. You could buy an extra-cost utility to bring up commonly
  2. used documents and applications when you start up Windows,
  3. but here's a way to do it that won't cost you a cent. Using
  4. SYSEDIT or another text editor, open your WIN.INI file. At
  5. the top of the file is a line that begins 'LOAD='. On that
  6. line, type the names of the files or programs you want
  7. loaded at start-up, each separated by a single space.
  8.  
  9. Let's say you want to load an Excel spreadsheet, a Microsoft
  10. Word table of addresses, and a Visual Basic program you're
  11. writing called MYCODE.MAK. Your load= line would look like
  12. this:
  13.  
  14. LOAD=C:\EXCEL\LIBRARY\BUDGET93.XLS
  15. C:\WORD\TABLES\ADDRESS.DOC C:\VB\CODE\MYCODE.MAK
  16.  
  17. Windows will find the file and use its "association"
  18. function (which recognizes data files for different
  19. applications by looking at their extensions) to load it into
  20. the proper program. Any data file you list here must be
  21. associated with an application for this scheme to work.
  22.  
  23. Steven D. Day
  24. Gloucester, Massachusetts
  25.  
  26. Editor's Note: I've always known about the load= line in
  27. WIN.INI, but Mr. Day's tip includes a capability that was
  28. new to me: You can use the line to load data files as well
  29. as programs. If you're using Windows 3.1, you can also place
  30. a data file in the Program Manager's StartUp window and
  31. achieve the same result. This tip can save you lots of time
  32. if you use certain documents whenever you run Windows.
  33.  
  34. A few words about associations are in order. Many
  35. applications set up their associations automatically, but
  36. you can add those associations  manually by editing the
  37. [Extensions] section of your WIN.INI file. For example, the
  38. line 'doc=c:\winword\winword.exe ^.doc' will associate any
  39. file with the extension DOC with Word for Windows. If you
  40. also add the line 'ltr=c:\winword\winword.exe ^.ltr', files
  41. with an LTR extension as well as DOC files will load
  42. WinWord. On the other hand, if you find that Windows is
  43. trying to load a file into the wrong application or can't
  44. find an application to open the file, you may need to edit
  45. this section of WIN.INI to set Windows straight.
  46.  
  47.  
  48. Title: Instant Windows
  49. Category: MSC
  50. Issue Date: September, 1992
  51. Editor: Brett Glass
  52. Supplementary Files: None
  53. Filename: P5MSC009.TIP
  54.